package com.attilax.asyn;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.FutureTask;

public class AsynUtil {

	public static void exe(FutureTask futTask) {
		ExecutorService newSingleThreadExecutor = Executors.newSingleThreadExecutor();
		newSingleThreadExecutor.submit(futTask);
		
		newSingleThreadExecutor.shutdown();
		
	}

}
